package models

import "github.com/smash-llj/Nexa-server/global"

type GroupMember struct {
	global.BaseModal
	UserId  uint `json:"userId" gorm:"not null"`
	GroupId uint `json:"groupId" gorm:"not null"`
	Role    int  `json:"role" gorm:"type:varchar(20);default:0;comment:角色，群主:1,普通成员:0"`
}
